package cn.xsly.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.*;

@Data
@NoArgsConstructor//无参构造
@AllArgsConstructor//有参构造
public class PageList<T> {
    //总数量
    private Long totals = 0L;
    //当前页数量
    private List<T> data = new ArrayList<>();

}

